package cn.com.bdqn.dao;

import cn.com.bdqn.entity.OrdersLine;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

@Mapper
public interface OrdersLineDao {

    @Select("select prod_name,odd_count,odd_unit,prod_price,odd_price from orders_line a,product b\n" +
            "where b.prod_id = a.odd_prod_id and odd_order_id = #{value}")
    public List<Map> queryByOddOrderId(String oddOrderId);
}
